#!/bin/bash
createdb tracking_system;

psql tracking_system -f setup.sql;

if [ "$1" = "-t" ]; then
    psql tracking_system -f setup_tests.sql
elif [ "$1" = "-small" ]; then
    psql tracking_system -f small-test.sql
fi